package tongpeifu.domain;

/**
 * Created by 4790K_NSL on 2017/4/7.
 */
public class Bird extends Animal {
    public Bird(String name) {
        super(name);
    }

    public void fly(){
        System.out.println(getName() + " can fly.");
    }
}
